package day240303.e1;

/**
 *
 */
public class StudentText {
    public static void main(String[] args) {
        // new 2 student
        Student s1 = new Student();

        s1.id = 01;
        s1.name = "小明";
        s1.age = 18;

        System.out.println("学生(学号" + s1.id + ")的信息：学号=" + s1.id + "、姓名=" + s1.name + "、年龄=" + s1.age);

        Student s2 = new Student();

        s2.id = 02;
        s2.name = "小王";
        s2.age = 20;

        System.out.println("学生(学号" + s2.id + ")的信息：学号=" + s2.id + "、姓名=" + s2.name + "、年龄=" + s2.age);
    }
}
